import { MockMethod } from "vite-plugin-mock";
import { Random } from "mockjs";

export default [
  {
    url: "/getDateTabs",
    method: "get",
    response: () => {
      return {
        code: 1,
        data: [
          {
            id: 1,
            date: "2023-05-01",
            description: "五一在深圳玩的",
            nums: 100,
            icon: null,
          },
          {
            id: 2,
            date: "2023-06-01",
            description: "五一在深圳玩的",
            nums: 100,
            icon: null,
          },
          {
            id: 3,
            date: "2023-07-01",
            description: "五一在深圳玩的",
            nums: 100,
            icon: null,
          },
          {
            id: 4,
            date: "2023-08-01",
            description: "五一在深圳玩的",
            nums: 100,
            icon: null,
          },
          {
            id: 5,
            date: "2023-09-01",
            description: "五一在深圳玩的",
            nums: 100,
            icon: null,
          },
          {
            id: 6,
            date: "2023-10-01",
            description: "五一在深圳玩的",
            nums: 100,
            icon: null,
          },
          {
            id: 7,
            date: "2023-11-01",
            description: "五一在深圳玩的",
            nums: 100,
            icon: null,
          }
        ],
      };
    },
  },
  {
    url: "/getPictrueData",
    method: "get",
    response: () => {
      return {
        code: 1,
        data: [
          {
            id: 1,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 2,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 3,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 4,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 5,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 6,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 7,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 8,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 9,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 10,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 11,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 12,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 13,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 14,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 15,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 16,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 17,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 18,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 19,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 20,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 21,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 22,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 23,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 24,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
          {
            id: 25,
            name: "愤怒的小喵",
            tags: ["愤怒", "动物", "猫"],
            productTime: "2023-05-01 12:12:20",
            size: "1200px * 1881px | 343KB",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 1881 / 1200, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/234456546313.jpg",
          },
          {
            id: 26,
            name: "山水风景",
            tags: ["山", "水", "风景"],
            productTime: "2023-05-01 12:12:20",
            size: "1120px * 747px | 10M",
            params: "f2.8 - 50mm - ISO 200",
            description: "拍摄于一个阴天，公园山顶",
            sizeRadio: 747 / 1130, // 高宽比
            src: "https://jbbucketone.oss-cn-shenzhen.aliyuncs.com/61975e49be85e4745.jpg",
          },
        ],
        pageCount: 3,
        total: 26,
      };
    },
  },
  {
    url: "/getTagSelect",
    method: "get",
    response: () => {
      return {
        code: 1,
        data: [
          {
            id: 1,
            name: "树",
            value: "shu",
          },
          {
            id: 2,
            name: "风景",
            value: "fengjing",
          }
        ],
      };
    },
  },
  {
    url: "/editPictrueInfo",
    method: "post",
    response: () => {
      return {
        code: 1,
        data: null,
        success: true,
      };
    },
  },
  // 所有图片
  {
    url: "/moveInExcellent",
    method: "post",
    response: () => {
      return {
        code: 1,
        data: null,
        success: true,
      };
    },
  },
  {
    url: "/moveOut",
    method: "post",
    response: () => {
      return {
        code: 1,
        data: null,
        success: true,
      };
    },
  },
  // 精选
  {
    url: "/moveInMainPic",
    method: "post",
    response: () => {
      return {
        code: 1,
        data: null,
        success: true,
      };
    },
  },
  {
    url: "/moveOutExcellent",
    method: "post",
    response: () => {
      return {
        code: 1,
        data: null,
        success: true,
      };
    },
  },
  // 主图
  {
    url: "/moveOutMainPic",
    method: "post",
    response: () => {
      return {
        code: 1,
        data: null,
        success: true,
      };
    },
  },
] as MockMethod[];
